const express = require("express")

const router = express.Router()
const handle = require("../router_handle/order_handle.js")
router.post("/getAllOrder",handle.getAllOrder)
router.post("/changeIsDeliver",handle.changeIsDeliver)
router.post("/delayTime",handle.delayTime)
router.post("/cancelOrder",handle.cancelOrder)
router.post('/delOrder',handle.delOrder)
router.post("/createOrder",handle.createOrder)
router.post("/getUserOrder",handle.getUserOrderList)
router.post("/change2finish",handle.change2finish)
router.post("/getOrderStatus",handle.getUserOrderSatus)
router.post("/get2payOrder",handle.get2payOrder)
router.post("/get2receive",handle.get2receive)
router.post("/change2deliver",handle.change2deliver)
router.post("/getOrderExpress",handle.getOrderExpress)
module.exports = router